import { defineStore } from 'pinia'
import persistLocalstorage from "@/common/persistLocalstorage";

export const pickingOrderStore = defineStore('pickingOrderStore', {
    state: (): any => ({
        sortType: '21'
    }),
    actions: {
        setSortType(status: string) {
            this.sortType = status;
        }
    },
    persist: {
        storage: persistLocalstorage
    }
});